The Halting Problem for Deductive Synthesis of Logic Programs

نویسندگان

  • Kung-Kiu Lau
  • Mario Ornaghi
  • Sten-Åke Tärnlund
چکیده

Deductive synthesis methods derive programs in an incremental manner, and therefore pose a halting problem { when can synthesis stop with a correct program? We give a characterisation of this problem and state a halting principle as a solution. Another characteristic of deductive synthesis is that it may derive several correct programs, giving rise to another question { which correct programs are desirable? We show that the answer is related to the halting problem, via the notion of steadfast , or reusable, programs as desirable programs. Our work also reveals that Clark's idea of the completion of a program is central to deductive synthesis, since it is the basis of our halting principle and our notion of steadfast programs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Formal Reasoning about Modules, Reuse and their Correctness

data types and in capturing their recursiveness. Fundamenta Informaticae VI(2):127–170, 1983. 2. A. Brogi, P. Mancarella, D. Pedreschi and F. Turini. Modular logic programming. ACM TOPLAS 16(4):1361-1398, 1994. 3. K.M. Bruce. A paradigmatic object-oriented programming language: Design, static typing and semantics. J. Functional Programming 4(2):127–206, 1994. 4. M. Bugliesi, E. Lamma and P. Mel...

متن کامل

An Incompleteness Result for Deductive Synthesis of Logic Programs

We formalise the derivation of logic programs from their speciications by deductive synthesis, and introduce the notion of uniform equivalence between logical systems. This enables us to present an incompleteness result for deductive synthesis of logic programs from rst-order logic speciications.

متن کامل

Neural-Guided Deductive Search for Real-Time Program Synthesis from Examples

Synthesizing user-intended programs from a small number of input-output examples is a challenging problem with several important applications like spreadsheet manipulation, data wrangling and code refactoring. Existing synthesis systems either completely rely on deductive logic techniques that are extensively handengineered or on purely statistical models that need massive amounts of data, and ...

متن کامل

A Formal Framework for Synthesis and Verification of Logic Programs

In this paper we will present a formal framework, based on the notion of extraction calculus, which has been successfully applied to define procedures for extracting information from constructive proofs. Here we will apply such a mechanism to give a proof-theoretic account of SLD-derivations. We show how proofs of suitable constructive systems can be used in the context of deductive synthesis o...

متن کامل

A Formal View of Speci cation , Deductive Synthesis

We view logic programs as ((rst-order) axiomatisations, and deductive synthesis and transformation as operations on mathematical systems composed of axioms and \logical" systems such as SLD and SLDNF. In this framework, we distinguish between speciication, deductive synthesis and transformation and discuss their interrelationships .

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994